package User;

import Book.BookList;
import Operation.IOperation;

public abstract class User {
    public String name;

    public User(String name) {
        System.out.println("Hello "+name);
        this.name = name;
    }

     public abstract int menu();

    public IOperation[] IOperations;

    public void doOperation(int choice,BookList booklist){

        IOperations[choice].work(booklist);

    }
}
